#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>

int main(int argc, const char *argv[]) {
    int tcp_socket;
    tcp_socket = socket(AF_INET, SOCK_STREAM, 0);
    if(tcp_socket == -1) {
        perror("fail to socket\n");
        exit(1);
    }
    result = listen(tcp_socket, 5);
    if(result == -1) {
        perror("fail to listen\n");
        exit(1);
    }
        int accept(tcp_socket, struct sockaddr *addr, socklen_t *addrlen);
        accept();
    while(1) {
    
    }

}

